| 1. | Private constructors for each manager singleton 用于每一个单独管理员的私有构建程序。 |
| 2. | A private constructor prevents the class from being instantiated 私有构造函数阻止类被实例化。 |
| 3. | A private constructor is a special instance constructor 私有构造函数是一种特殊的实例构造函数。 |
| 4. | The following is an example of a class using a private constructor 下面是使用私有构造函数的类的示例。 |
| 5. | Do classes that should not be instantiated have a private constructor 不需要实例化的类有私有构造函数吗 |
| 6. | Creating a static class is therefore much the same as creating a class that contains only static members and a private constructor 因此创建静态类与创建仅包含静态成员和私有构造函数的类大致一样。 |
| 7. | Private constructors are used to prevent the creation of instances of a class when there are no instance fields or methods , such as the 类)时或者当调用方法以获得类的实例时,私有构造函数可用于阻止创建类的实例。 |
| 8. | That is , private constructors , methods , fields , and properties can be accessed and invoked using reflection whenever the code is fully trusted 即,只要代码完全受信任,就可以使用反射来访问和调用私有构造函数、方法、字段和属性。 |
| 9. | Access restrictions are ignored for fully trusted code ; that is , private constructors , methods , fields , and properties can be accessed and invoked through 对于完全受信任的代码将忽略访问限制;即,只要代码是完全受信任的,就可以通过 |
| 10. | Fully trusted code has the permissions that are needed to access and invoke private constructors , methods , fields , and properties using reflection 完全受信任的代码具有使用反射来访问和调用私有构造函数、方法、字段和属性( property )所需的权限。 |